package com.suse.ecommerce.pojo;

import java.io.Serializable;

public class SeckillOrder implements Serializable {
    private Long id;

    private String title;

    private Long productId;

    private Long seckillPrice;

    private String img;

    private Long addressId;

    private Integer userId;

    private Long seckillId;

    private static final long serialVersionUID = 1L;

    public SeckillOrder(Long id, String title, Long productId, Long seckillPrice, String img, Long addressId, Integer userId, Long seckillId) {
        this.id = id;
        this.title = title;
        this.productId = productId;
        this.seckillPrice = seckillPrice;
        this.img = img;
        this.addressId = addressId;
        this.userId = userId;
        this.seckillId = seckillId;
    }

    public SeckillOrder() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSeckillPrice() {
        return seckillPrice;
    }

    public void setSeckillPrice(Long seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img == null ? null : img.trim();
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(Long seckillId) {
        this.seckillId = seckillId;
    }
}